package com.example.demo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.demo.dto.Gkhomework.GkhomeworkAddRequest;
import com.example.demo.dto.Gkhomework.GkhomeworkQueryRequest;
import com.example.demo.entity.Gkhomework;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.web.multipart.MultipartFile;


public interface GkhomeworkService extends IService<Gkhomework> {




    /**
     * 获取查询条件
     *
     * @param gkhomeworkQueryRequest
     * @return
     */
    QueryWrapper<Gkhomework> getQueryWrapper(GkhomeworkQueryRequest gkhomeworkQueryRequest);


    /**
     * 添加作业
     *
     * @param file
     * @param gkhomeworkAddRequest
     * @return
     */


    boolean addgkhomework(MultipartFile file, GkhomeworkAddRequest gkhomeworkAddRequest);
}
